package com.example.demo.mapper;

import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description:
 * @author: myh1
 * @time: 2023/11/2 21:04
 */
@Mapper
public interface UserMapper {

    UserInfo getUserById(@Param("id") Integer id);
    int add(UserInfo userInfo);
    int dels(List<Integer> ids);
}
